
<!DOCTYPE HTML>
<html lang="zh" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>概述 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    


    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="guide/android.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="輸入並搜尋" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="guide/android.html">
            
                <a href="guide/android.html">
            
                    
                    android
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="guide/ios.html">
            
                <a href="guide/ios.html">
            
                    
                    ios
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    工作流程
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="flow/ble_scale.html">
            
                <a href="flow/ble_scale.html">
            
                    
                    普通蓝牙秤
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="flow/ble_scale_custom_connect.html">
            
                <a href="flow/ble_scale_custom_connect.html">
            
                    
                    普通蓝牙秤-自主管理蓝牙
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="flow/kitchen_scale.html">
            
                <a href="flow/kitchen_scale.html">
            
                    
                    厨房秤
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="flow/ble_user_scale.html">
            
                <a href="flow/ble_user_scale.html">
            
                    
                    用户秤
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="flow/ble_ruler.html">
            
                <a href="flow/ble_ruler.html">
            
                    
                    蓝牙围度尺
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    API
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html">
            
                    
                    QNBleApi
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1.1" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#initsdk">
            
                    
                    initSdk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.2" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#getcursystemblestate">
            
                    
                    getCurSystemBleState
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.3" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#setsysblestatelistener">
            
                    
                    setSysBleStateListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.4" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#setbledevicediscoverylistener">
            
                    
                    setBleDeviceDiscoveryListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.5" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#setbleconnectionchangelistener">
            
                    
                    setBleConnectionChangeListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.6" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#setdataListener">
            
                    
                    setDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.7" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#setblekitchenlistener">
            
                    
                    setBleKitchenListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.8" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#setloglistener">
            
                    
                    setLogListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.9" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#startbledevicediscovery">
            
                    
                    startBleDeviceDiscovery
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.10" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#stopbledevicediscovery">
            
                    
                    stopBleDeviceDiscovery
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.11" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#connectdevice">
            
                    
                    connectDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.12" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#connectuserscaledevice">
            
                    
                    connectUserScaleDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.13" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#connectblekitchendevice">
            
                    
                    connectBleKitchenDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.14" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#setblekitchendeviceconfig">
            
                    
                    setBleKitchenDeviceConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.15" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#disconnectdevice">
            
                    
                    disconnectDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.16" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#getconfig">
            
                    
                    getConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.17" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#convertweightwithtargetunit">
            
                    
                    convertWeightWithTargetUnit
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.18" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#builddevice">
            
                    
                    buildDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.19" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#buildprotocolhandler">
            
                    
                    buildProtocolHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.20" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#generatescaledata">
            
                    
                    generateScaleData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.21" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#physiquecalculation">
            
                    
                    physiqueCalculation
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.22" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#switchuserscaleuser">
            
                    
                    switchUserScaleUser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.23" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#updateuserscaleidentifyweight">
            
                    
                    updateUserScaleIdentifyWeight
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.24" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#deletescaleusers">
            
                    
                    deleteScaleUsers
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.25" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#setblerulerlistener">
            
                    
                    setBleRulerListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.26" data-path="api/QNBleApi.html">
            
                <a href="api/QNBleApi.html#connectrulerdevice">
            
                    
                    connectRulerDevice
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="api/QNUser.html">
            
                <a href="api/QNUser.html">
            
                    
                    QNUser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="api/QNScaleData.html">
            
                <a href="api/QNScaleData.html">
            
                    
                    QNScaleData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="api/QNScaleStoreData.html">
            
                <a href="api/QNScaleStoreData.html">
            
                    
                    QNScaleStoreData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="api/QNScaleItemData.html">
            
                <a href="api/QNScaleItemData.html">
            
                    
                    QNScaleItemData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="api/QNBleDevice.html">
            
                <a href="api/QNBleDevice.html">
            
                    
                    QNBleDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="api/QNBleBroadcastDevice.html">
            
                <a href="api/QNBleBroadcastDevice.html">
            
                    
                    QNBleBroadcastDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="api/QNBleKitchenDevice.html">
            
                <a href="api/QNBleKitchenDevice.html">
            
                    
                    QNBleKitchenDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="api/QNConfig.html">
            
                <a href="api/QNConfig.html">
            
                    
                    QNConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="api/QNWiFiConfig.html">
            
                <a href="api/QNWiFiConfig.html">
            
                    
                    QNWiFiConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="api/QNUserScaleConfig.html">
            
                <a href="api/QNUserScaleConfig.html">
            
                    
                    QNUserScaleConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="api/QNBleKitchenConfig.html">
            
                <a href="api/QNBleKitchenConfig.html">
            
                    
                    QNBleKitchenConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.13" data-path="api/QNBleStateListener.html">
            
                <a href="api/QNBleStateListener.html">
            
                    
                    QNBleStateListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.14" data-path="api/QNBleDeviceDiscoveryListener.html">
            
                <a href="api/QNBleDeviceDiscoveryListener.html">
            
                    
                    QNBleDeviceDiscoveryListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.15" data-path="api/QNBleConnectionChangeListener.html">
            
                <a href="api/QNBleConnectionChangeListener.html">
            
                    
                    QNBleConnectionChangeListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.16" data-path="api/QNScaleDataListener.html">
            
                <a href="api/QNScaleDataListener.html">
            
                    
                    QNScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.17" data-path="api/QNUserScaleDataListener.html">
            
                <a href="api/QNUserScaleDataListener.html">
            
                    
                    QNUserScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.18" data-path="api/QNBleKitchenListener.html">
            
                <a href="api/QNBleKitchenListener.html">
            
                    
                    QNBleKitchenListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.19" data-path="api/QNLogListener.html">
            
                <a href="api/QNLogListener.html">
            
                    
                    QNLogListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.20" data-path="api/QNResultCallback.html">
            
                <a href="api/QNResultCallback.html">
            
                    
                    QNResultCallback
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.21" data-path="api/QNShareData.html">
            
                <a href="api/QNShareData.html">
            
                    
                    QNShareData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.22" data-path="api/QNUtils.html">
            
                <a href="api/QNUtils.html">
            
                    
                    QNUtils
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.23" data-path="api/QNBleProtocolHandler.html">
            
                <a href="api/QNBleProtocolHandler.html">
            
                    
                    QNBleProtocolHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.24" data-path="api/QNBleProtocolDelegate.html">
            
                <a href="api/QNBleProtocolDelegate.html">
            
                    
                    QNBleProtocolDelegate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.25" data-path="api/QNWspScaleDataListener.html">
            
                <a href="api/QNWspScaleDataListener.html">
            
                    
                    QNWspScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.26" data-path="api/QNBleRulerDevice.html">
            
                <a href="api/QNBleRulerDevice.html">
            
                    
                    QNBleRulerDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.27" data-path="api/QNBleRulerData.html">
            
                <a href="api/QNBleRulerData.html">
            
                    
                    QNBleRulerData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.28" data-path="api/QNBleRulerListener.html">
            
                <a href="api/QNBleRulerListener.html">
            
                    
                    QNBleRulerListener
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    附表
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="attouched_list/faq.html">
            
                <a href="attouched_list/faq.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="attouched_list/body_indexes.html">
            
                <a href="attouched_list/body_indexes.html">
            
                    
                    身体指标常量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="attouched_list/device_type.html">
            
                <a href="attouched_list/device_type.html">
            
                    
                    设备类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="attouched_list/display_module_type.html">
            
                <a href="attouched_list/display_module_type.html">
            
                    
                    显示模块类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="attouched_list/body_shape.html">
            
                <a href="attouched_list/body_shape.html">
            
                    
                    体型对照表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="attouched_list/error_code.html">
            
                <a href="attouched_list/error_code.html">
            
                    
                    错误码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="attouched_list/scan_error.html">
            
                <a href="attouched_list/scan_error.html">
            
                    
                    扫描错误码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="attouched_list/scale_state.html">
            
                <a href="attouched_list/scale_state.html">
            
                    
                    秤状态定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="attouched_list/scale_event.html">
            
                <a href="attouched_list/scale_event.html">
            
                    
                    秤事件定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10" data-path="attouched_list/area_type.html">
            
                <a href="attouched_list/area_type.html">
            
                    
                    区域类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.11" data-path="attouched_list/test_list.html">
            
                <a href="attouched_list/test_list.html">
            
                    
                    测试用例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.12" data-path="attouched_list/policy.html">
            
                <a href="attouched_list/policy.html">
            
                    
                    隐私协议
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.13" data-path="history/history.html">
            
                <a href="history/history.html">
            
                    
                    更新日志
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本書使用 GitBook 釋出
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >概述</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x6982;&#x8FF0;">&#x6982;&#x8FF0;</h1>
<p> <a href="../en">English Document</a></p>
<p>&#x8BE5;&#x6587;&#x6863;&#x7528;&#x4E8E;&#x5F15;&#x5BFC;Yolanda&#x5BA2;&#x6237;&#x63A5;&#x5165;&#x4E91;&#x5EB7;&#x5B9D;&#x7684;&#x667A;&#x80FD;&#x8BBE;&#x5907;&#x3002;</p>
<p>&#x8BE5;SDK&#x652F;&#x6301;&#x8BBE;&#x5907;&#x8BF7;&#x53C2;&#x8003;<a href="attouched_list/device_type.html">&#x8BBE;&#x5907;&#x7C7B;&#x578B;</a></p>
<h2 id="&#x5BF9;&#x63A5;&#x6B65;&#x9AA4;">&#x5BF9;&#x63A5;&#x6B65;&#x9AA4;</h2>
<h3 id="1&#x3001;&#x5546;&#x52A1;&#x7533;&#x8BF7;">1&#x3001;&#x5546;&#x52A1;&#x7533;&#x8BF7;</h3>
<p>&#x8DDF;Yolanda&#x5546;&#x52A1;&#x4EBA;&#x5458;&#x7B7E;&#x8BA2;&#x5408;&#x4F5C;&#x534F;&#x8BAE;&#xFF0C;&#x6211;&#x53F8;&#x4F1A;&#x63D0;&#x4F9B;&#x5F00;&#x53D1;&#x6240;&#x9700;&#x7684;<code>appid</code>&#x548C;<code>&#x914D;&#x7F6E;&#x6587;&#x4EF6;</code></p>
<p>&#x6211;&#x4EEC;&#x4F1A;&#x63D0;&#x4F9B;&#x4E00;&#x4E2A;&#x8868;&#x683C;&#xFF0C;&#x53EA;&#x8981;&#x6309;&#x7167;&#x8981;&#x6C42;&#x586B;&#x5199;&#x8868;&#x683C;&#xFF0C;&#x53D1;&#x7ED9;&#x6211;&#x4EEC;&#x7684;&#x4EBA;&#x5458;&#x5904;&#x7406;&#xFF0C;&#x901A;&#x5E38;&#x5F88;&#x5FEB;&#x5C31;&#x4F1A;&#x7ED9;&#x5230;&#x4E0A;&#x8FF0;&#x4E24;&#x6837;&#x4E1C;&#x897F;</p>
<blockquote>
<p>&#x5343;&#x4E07;&#x4E0D;&#x8981;&#x5728;&#x6B63;&#x5F0F;APP&#x4F7F;&#x7528;<code>123456789</code>&#x8FD9;&#x4E2A;&#x6D4B;&#x8BD5;&#x7684;appid&#xFF0C;&#x5B83;&#x4E0D;&#x7A33;&#x5B9A;&#xFF0C;&#x6211;&#x4EEC;&#x968F;&#x65F6;&#x53EF;&#x80FD;&#x5C01;&#x6740;&#x5B83;&#xFF0C;&#x6216;&#x53D8;&#x66F4;&#x6D4B;&#x8BD5;&#x7528;&#x7684;appid</p>
</blockquote>
<h3 id="2&#x3001;&#x4E0B;&#x8F7D;&#x7814;&#x7A76;sdk">2&#x3001;&#x4E0B;&#x8F7D;&#x7814;&#x7A76;SDK</h3>
<p>&#x4E0B;&#x8F7D;&#x76F8;&#x5E94;&#x5E73;&#x53F0;&#x7684;SDK&#xFF0C;&#x4F7F;&#x7528;&#x4E0A;&#x9762;&#x7533;&#x8BF7;&#x5230;&#x7684;appid&#x548C;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x8FD0;&#x884C;demo&#xFF0C;&#x7814;&#x7A76;&#x4E0B;demo&#x548C;&#x6587;&#x6863;&#x662F;&#x5982;&#x4F55;&#x4F7F;&#x7528;SDK&#x7684;&#x3002;</p>
<p>&#x5F3A;&#x70C8;&#x5EFA;&#x8BAE;&#x7814;&#x7A76;demo&#x540E;&#xFF0C;&#x518D;&#x63A5;&#x5165;&#x5230;&#x81EA;&#x5DF1;&#x7684;APP&#xFF0C;&#x53E6;&#x5916;&#x53EF;&#x4EE5;&#x5148;&#x770B;&#x770B;<a href="attouched_list/faq.html">FAQ</a>&#xFF0C;&#x4ED4;&#x7EC6;&#x9605;&#x8BFB;&#x5176;&#x4E2D;&#x7684;&#x95EE;&#x9898;&#xFF0C;&#x4E5F;&#x8BB8;&#x4F60;&#x7684;&#x7591;&#x60D1;&#x5C31;&#x4F1A;&#x89E3;&#x5F00;&#x3002;</p>
<blockquote>
<p>&#x5EFA;&#x8BAE;&#x5F00;&#x53D1;&#x4EBA;&#x5458;<strong><code>star</code></strong>&#x6211;&#x4EEC;&#x7684;SDK&#x9879;&#x76EE;&#xFF0C;&#x8FD9;&#x6837;&#x53EF;&#x4EE5;&#x53CA;&#x65F6;&#x6536;&#x5230;&#x66F4;&#x65B0;&#x901A;&#x77E5;</p>
</blockquote>
<h3 id="3&#x3001;&#x8BBE;&#x8BA1;&#x4F53;&#x8102;&#x79E4;&#x529F;&#x80FD;">3&#x3001;&#x8BBE;&#x8BA1;&#x4F53;&#x8102;&#x79E4;&#x529F;&#x80FD;</h3>
<p>&#x8BBE;&#x8BA1;&#x5982;&#x4F55;&#x5728;&#x73B0;&#x6709;APP&#x4E2D;&#x63A5;&#x5165;&#x4F53;&#x8102;&#x79E4;&#x3002;&#x4E0A;&#x4E00;&#x6B65;&#x7814;&#x7A76;&#x597D;SDK&#x540E;&#xFF0C;&#x4E5F;&#x80FD;&#x4E3A;&#x8FD9;&#x4E00;&#x6B65;&#x8BBE;&#x8BA1;&#x4F53;&#x8102;&#x79E4;&#x907F;&#x514D;&#x4E0D;&#x5C11;&#x96F7;&#x533A;&#x3002;</p>
<p>&#x901A;&#x5E38;&#x4F53;&#x8102;&#x79E4;&#x7684;&#x4F7F;&#x7528;&#x6B65;&#x9AA4;&#x4E3A;&#xFF1A;</p>
<ol>
<li>&#x6DFB;&#x52A0;&#x8BBE;&#x5907;<blockquote>
<p>&#x8FD9;&#x4E2A;&#x5E76;&#x4E0D;&#x662F;&#x8DDF;&#x5B89;&#x5353;&#x6216;iOS&#x7CFB;&#x7EDF;&#x914D;&#x7F6E;&#xFF0C;&#x84DD;&#x7259;4.0&#x662F;&#x53EF;&#x4EE5;&#x652F;&#x6301;&#x4E0D;&#x914D;&#x5BF9;&#x4F7F;&#x7528;&#x7684;&#x3002;&#x6211;&#x4EEC;&#x7684;&#x4F53;&#x8102;&#x79E4;&#x662F;&#x5C5E;&#x4E8E;&#x81EA;&#x5B9A;&#x4E49;&#x534F;&#x8BAE;&#xFF0C;&#x901A;&#x5E38;&#x53EA;&#x6709;&#x6211;&#x4EEC;&#x7684;APP&#x6216;&#x63A5;&#x5165;&#x4E86;&#x6211;&#x4EEC;SDK&#x7684;APP&#x624D;&#x80FD;&#x4F7F;&#x7528;&#x3002;&#x4E0D;&#x80FD;&#x6DFB;&#x52A0;&#x81F3;&#x7CFB;&#x7EDF;&#xFF0C;&#x7528;&#x7CFB;&#x7EDF;&#x84DD;&#x7259;&#x8FDE;&#x63A5;&#x3002;</p>
</blockquote>
</li>
<li>&#x6D4B;&#x91CF;<blockquote>
<p>&#x8FD9;&#x91CC;&#x7684;&#x6D4B;&#x91CF;&#x5176;&#x5B9E;&#x5305;&#x62EC;&#x84DD;&#x7259;&#x626B;&#x63CF;&#x548C;&#x84DD;&#x7259;&#x8FDE;&#x63A5;&#xFF0C;&#x5728;&#x6D4B;&#x91CF;&#x8FC7;&#x7A0B;&#x4E2D;&#xFF0C;&#x6700;&#x597D;&#x5C55;&#x793A;&#x4E00;&#x4E9B;&#x6D4B;&#x91CF;&#x52A8;&#x753B;&#xFF0C;&#x63D0;&#x793A;&#x7528;&#x6237;&#x6B63;&#x5728;&#x6D4B;&#x91CF;&#xFF0C;&#x907F;&#x514D;&#x4F7F;&#x7528;&#x8FC7;&#x7A0B;&#x592A;&#x67AF;&#x71E5;</p>
</blockquote>
</li>
<li>&#x4FDD;&#x5B58;&#x548C;&#x5C55;&#x793A;&#x6570;&#x636E;<blockquote>
<p>&#x6536;&#x5230;&#x9501;&#x5B9A;&#x6D4B;&#x91CF;&#x6570;&#x636E;&#x540E;&#xFF0C;&#x5C31;&#x628A;&#x6570;&#x636E;&#x4FDD;&#x5B58;&#x5728;&#x672C;&#x5730;&#x5E76;&#x8FDB;&#x884C;&#x5C55;&#x793A;&#x3002;&#x4E3A;&#x4E86;&#x8FBE;&#x5230;&#x79BB;&#x7EBF;&#x6D4B;&#x91CF;&#xFF0C;&#x53EF;&#x4EE5;&#x5148;&#x628A;&#x6570;&#x636E;&#x4FDD;&#x5B58;&#x672C;&#x5730;&#xFF0C;&#x7136;&#x540E;&#x518D;&#x4E0A;&#x4F20;&#x5230;&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x5982;&#x679C;&#x5F53;&#x65F6;&#x6CA1;&#x6709;&#x7F51;&#x7EDC;&#xFF0C;&#x5219;&#x53EF;&#x4EE5;&#x7B49;&#x540E;&#x7EED;&#x6709;&#x7F51;&#x7EDC;&#x518D;&#x4E0A;&#x4F20;&#x6570;&#x636E;&#x5230;&#x670D;&#x52A1;&#x5668;&#x3002;&#x5C55;&#x793A;&#x6570;&#x636E;&#x7684;&#x65B9;&#x5F0F;&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x6211;&#x4EEC;&#x7684;APP&#xFF0C;&#x5F53;&#x7136;&#x5982;&#x679C;&#x6709;&#x81EA;&#x5DF1;&#x7684;&#x98CE;&#x683C;&#x548C;&#x5206;&#x6790;&#x65B9;&#x5F0F;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x7528;&#x81EA;&#x5DF1;&#x7684;&#x3002;</p>
</blockquote>
</li>
</ol>
<h3 id="4&#x3001;&#x5F00;&#x53D1;app&#x529F;&#x80FD;">4&#x3001;&#x5F00;&#x53D1;APP&#x529F;&#x80FD;</h3>
<p>&#x6839;&#x636E;&#x8BBE;&#x8BA1;&#x597D;&#x7684;&#x529F;&#x80FD;&#xFF0C;&#x628A;SDK&#x4E2D;&#x63A5;&#x5165;APP&#x4E2D;&#x3002;</p>
<p>&#x8FD9;&#x91CC;&#x8981;&#x7279;&#x522B;&#x6CE8;&#x610F;&#x5B89;&#x5353;&#x7684;&#x5B9A;&#x4F4D;&#x6743;&#x9650;&#x548C;&#x5B9A;&#x4F4D;&#x670D;&#x52A1;&#x5F00;&#x5173;&#x3002;iOS&#x5219;&#x4E3B;&#x8981;13&#x7248;&#x672C;&#x540E;&#xFF0C;&#x9700;&#x8981;&#x84DD;&#x7259;&#x6743;&#x9650;&#x3002;</p>
<h3 id="5&#x3001;&#x81EA;&#x6D4B;&#x529F;&#x80FD;">5&#x3001;&#x81EA;&#x6D4B;&#x529F;&#x80FD;</h3>
<p>&#x5F00;&#x53D1;&#x5B8C;&#x6210;&#x540E;&#xFF0C;&#x53EF;&#x4EE5;&#x5148;&#x4F7F;&#x7528;&#x6211;&#x4EEC;&#x7684;&#x63D0;&#x4F9B;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;<a href="attouched_list/SDK_Checklist.xlsx">SDK&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;</a>&#xFF0C;&#x9A8C;&#x8BC1;&#x79F0;&#x91CD;&#x529F;&#x80FD;&#x662F;&#x5426;&#x80FD;&#x591F;&#x4F7F;&#x7528;&#x3002;</p>
<blockquote>
<p>&#x4E0A;&#x8FF0;&#x9644;&#x4EF6;&#x53EF;&#x4EE5;&#x9F20;&#x6807;&#x53F3;&#x952E;&#x70B9;&#x51FB;&#x4E0B;&#x8F7D;</p>
</blockquote>
<p>&#x5982;&#x679C;&#x53EF;&#x4EE5;&#x7684;&#x8BDD;&#xFF0C;&#x5EFA;&#x8BAE;&#x628A;&#x6D4B;&#x8BD5;&#x7248;&#x672C;&#x4E5F;&#x53D1;&#x7ED9;Yolanda&#xFF0C;&#x6211;&#x4EEC;&#x4F1A;&#x5B89;&#x6392;&#x6D4B;&#x8BD5;&#x4EBA;&#x5458;&#x8F85;&#x52A9;&#x5BA2;&#x6237;&#x7684;APP&#x6D4B;&#x8BD5;&#x3002;</p>
<p>&#x6211;&#x4EEC;&#x4F1A;&#x628A;&#x6D4B;&#x8BD5;&#x7684;&#x7ED3;&#x679C;&#x4EE5;&#x53CA;&#x6211;&#x4EEC;&#x5BF9;APP&#x7684;&#x4E00;&#x4E9B;&#x770B;&#x6CD5;&#x63D0;&#x5230;&#x7ED9;&#x5BA2;&#x6237;&#x3002;</p>
<h3 id="6&#x3001;&#x63D0;&#x4EA4;&#x4E0A;&#x7EBF;">6&#x3001;&#x63D0;&#x4EA4;&#x4E0A;&#x7EBF;</h3>
<p>&#x6D4B;&#x8BD5;&#x5B8C;&#x6210;&#xFF0C;&#x5C31;&#x63D0;&#x4EA4;&#x4E0A;&#x7EBF;&#x3002;&#x4E0A;&#x7EBF;&#x6210;&#x529F;&#x6700;&#x597D;&#x4E5F;&#x901A;&#x77E5;Yolanda&#x3002;&#x8FD9;&#x6837;Yolanda&#x4F1A;&#x767B;&#x8BB0;&#x4E0A;&#x7EBF;&#x7ED3;&#x679C;&#xFF0C;&#x7EE7;&#x7EED;&#x8DDF;&#x8FDB;&#x4F53;&#x9A8C;&#x3002;</p>
<h2 id="sdk-&#x4E0B;&#x8F7D;&#x94FE;&#x63A5;">SDK &#x4E0B;&#x8F7D;&#x94FE;&#x63A5;</h2>
<p>SDK&#x6587;&#x4EF6;&#x5DF2;&#x7ECF;&#x4E0D;&#x518D;&#x5355;&#x72EC;&#x4E0B;&#x8F7D;&#x94FE;&#x63A5;&#xFF0C;&#x4E0B;&#x6587;&#x662F;&#x6211;&#x4EEC;&#x63D0;&#x4F9B;&#x7684;Demo&#xFF0C;Demo&#x9879;&#x76EE;&#x4E2D;&#x6709;&#x6700;&#x65B0;&#x7684;SDK&#x6587;&#x4EF6;&#x3002;</p>
<p><a href="https://github.com/YolandaQingniu/sdk-ios-demo.git" target="_blank">iOS</a></p>
<p><a href="https://github.com/YolandaQingniu/qnscalesdkX.git" target="_blank">Android</a></p>
<h2 id="&#x96C6;&#x6210;&#x65B9;&#x5F0F;">&#x96C6;&#x6210;&#x65B9;&#x5F0F;</h2>
<p><a href="guide/android.html">Android&#x96C6;&#x6210;&#x65B9;&#x5F0F;</a></p>
<p><a href="guide/ios.html">iOS&#x96C6;&#x6210;&#x65B9;&#x5F0F;</a></p>
<h2 id="&#x5F00;&#x53D1;&#x6D41;&#x7A0B;">&#x5F00;&#x53D1;&#x6D41;&#x7A0B;</h2>
<p>&#x4F7F;&#x7528;SDK&#x524D;&#xFF0C;&#x9700;&#x8981;&#x5148;&#x8C03;&#x7528;&#x521D;&#x59CB;&#x5316;&#xFF0C;&#x65B9;&#x6CD5;&#x4E3A;&#xFF1A;<a href="api/QNBleApi.html#initSdk">QNBleApi.initSdk</a></p>
<p>&#x4EE3;&#x7801;&#x793A;&#x4F8B;&#xFF1A;</p>
<pre><code class="lang-java"><span class="hljs-comment">//&#x5B89;&#x5353;&#x793A;&#x4F8B;&#x4EE3;&#x7801;</span>
String configFilePath = <span class="hljs-string">&quot;file:///android_asset/test123456789.qn&quot;</span>;
QNBleApi.getInstance(context).initSdk(<span class="hljs-string">&quot;test123456789&quot;</span>, configFilePath, <span class="hljs-keyword">new</span> QNResultCallback() {
    <span class="hljs-meta">@Override</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onResult</span><span class="hljs-params">(<span class="hljs-keyword">int</span> code, String msg)</span> </span>{
        Log.d(<span class="hljs-string">&quot;BaseApplication&quot;</span>, <span class="hljs-string">&quot;&#x521D;&#x59CB;&#x5316;&#x6587;&#x4EF6;&quot;</span> + msg);
    }
});
</code></pre>
<pre><code class="lang-Objective-c">NSString *file = [[NSBundle mainBundle] pathForResource:@&quot;123456789&quot; ofType:@&quot;qn&quot;];
[[QNBleApi sharedBleApi] initSdk:@&quot;123456789&quot; firstDataFile:file callback:^(NSError *error) {
}];
</code></pre>
<p>&#x521D;&#x59CB;&#x5316;&#x65B9;&#x6CD5;&#x662F;&#x4EFB;&#x4F55;&#x8BBE;&#x5907;&#x90FD;&#x9700;&#x8981;&#x8C03;&#x7528;&#x7684;&#x65B9;&#x6CD5;&#xFF0C;&#x4E0B;&#x9762;&#x662F;&#x4E0D;&#x540C;&#x7684;&#x8BBE;&#x5907;&#x7C7B;&#x578B;&#x7684;&#x5DE5;&#x4F5C;&#x6D41;&#x7A0B;&#x3002;</p>
<p>&#x5982;&#x679C;&#x4E0D;&#x6E05;&#x695A;&#x81EA;&#x5DF1;&#x624B;&#x4E0A;&#x662F;&#x4F55;&#x79CD;&#x8BBE;&#x5907;&#xFF0C;&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x5E38;&#x89C1;&#x95EE;&#x9898;&#x4E2D;&#x7684;<a href="attouched_list/faq.html#&#x600E;&#x4E48;&#x5224;&#x65AD;&#x8BBE;&#x5907;&#x7684;&#x7C7B;&#x578B;">&#x5982;&#x4F55;&#x5224;&#x65AD;&#x8BBE;&#x5907;&#x7C7B;&#x578B;</a></p>
<h3 id="&#x666E;&#x901A;&#x84DD;&#x7259;&#x79E4;&#x5DE5;&#x4F5C;&#x6D41;&#x7A0B;"><a href="flow/ble_scale.html">&#x666E;&#x901A;&#x84DD;&#x7259;&#x79E4;&#x5DE5;&#x4F5C;&#x6D41;&#x7A0B;</a></h3>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="guide/android.html" class="navigation navigation-next navigation-unique" aria-label="Next page: android">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"概述","level":"1.1","depth":1,"next":{"title":"android","level":"1.2","depth":1,"path":"guide/android.md","ref":"guide/android.md","articles":[]},"dir":"ltr"},"config":{"plugins":["mermaid-gb3"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"mermaid-gb3":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"language":"zh","gitbook":"*"},"file":{"path":"README.md","mtime":"2022-03-01T12:53:11.336Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-01-16T11:02:39.181Z"},"basePath":".","book":{"language":"zh"}});
        });
    </script>
</div>

        
    
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    <script src="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>

    </body>
</html>

